#define  _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
struct Stu
{
	int a;
	char b;
	int c;
};

#define OFFSETOF(st_type, mem_name) (size_t)&(((st_type*)0)->mem_name)

int main()
{
	printf("%d\n", OFFSETOF(struct Stu, c));

	return 0;
}